<%--
 * (c)2010-2013 Andrea Caltroni (andrea.caltroni@pd.infn.it), INFN (www.infn.it)
 *
 * This file is part of the IGI Survey Portlet (from here on shortened to IGISP).
 * IGISP is free software: you can redistribute it and/or modify it 
 * under the terms of the GNU General Public License as published by the Free 
 * Software Foundation, either version 3 of the License, or (at your option) any 
 * later version.
 *
 * IGISP is distributed in the hope that it will be useful, but WITHOUT ANY 
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with IGISP. If not, see <http://www.gnu.org/licenses/>.
 *
--%>

<%--<%@ include file="./init.jsp" --%>

<table class="lfr-table">
	<tr>
		<td>

		<table class="lfr-table">
		    <%-- NOTE There will always be only 1 answer. Kept iteration to minimize controller code.  --%>
			<c:forEach items="${answers}" var="answer">

				<tr>
                    <td>
                        <form:hidden path="selectedAnswers" value="${answer.id}" />${answer.description}<br />
                        <form:textarea path="customDescription" rows="5" cols="40" />
                    </td>
				</tr>

			</c:forEach>
		</table>

		</td>
		<td><form:errors cssClass="portlet-msg-error" path="selectedAnswers" /><br />
		<form:errors cssClass="portlet-msg-error" path="customDescription" /></td>
	</tr>
</table>
